Add images
|
Add image on Eucalyptus. This example is used CentOS 5 for image. |
[root@frontend ~]# wget http://eucalyptussoftware.com/downloads/eucalyptus-images/euca-centos-5.3-x86_64.tar.gz [root@frontend ~]# tar zxvf euca-centos-5.3-x86_64.tar.gz [root@frontend ~]# cd euca-centos-5.3-x86_64 [root@frontend euca-centos-5.3-x86_64]# euca-bundle-image -i xen-kernel/vmlinuz-2.6.27.21-0.1-xen --kernel true Checking image Tarring image Encrypting image Splitting image... Part: vmlinuz-2.6.27.21-0.1-xen.part.0 Generating manifest [root@frontend euca-centos-5.3-x86_64]# euca-upload-bundle -b centos-kernel-bucket -m /tmp/vmlinuz-2.6.27.21-0.1-xen.manifest.xml Checking bucket: centos-kernel-bucket Creating bucket: centos-kernel-bucket Uploading manifest file Uploading part: vmlinuz-2.6.27.21-0.1-xen.part.0 Uploaded image as centos-kernel-bucket/vmlinuz-2.6.27.21-0.1-xen.manifest.xml [root@frontend euca-centos-5.3-x86_64]# euca-register centos-kernel-bucket/vmlinuz-2.6.27.21-0.1-xen.manifest.xml IMAGE eki-8DDF16EC [root@frontend euca-centos-5.3-x86_64]# euca-bundle-image -i xen-kernel/initrd-2.6.27.21-0.1-xen --ramdisk true Checking image Tarring image Encrypting image Splitting image... Part: initrd-2.6.27.21-0.1-xen.part.0 Generating manifest [root@frontend euca-centos-5.3-x86_64]# euca-upload-bundle -b centos-ramdisk-bucket -m /tmp/initrd-2.6.27.21-0.1-xen.manifest.xml Checking bucket: centos-ramdisk-bucket Creating bucket: centos-ramdisk-bucket Uploading manifest file Uploading part: initrd-2.6.27.21-0.1-xen.part.0 Uploaded image as centos-ramdisk-bucket/initrd-2.6.27.21-0.1-xen.manifest.xml [root@frontend euca-centos-5.3-x86_64]# euca-register centos-ramdisk-bucket/initrd-2.6.27.21-0.1-xen.manifest.xml IMAGE eri-887216DE [root@frontend euca-centos-5.3-x86_64]# euca-bundle-image -i centos.5-3.x86-64.img --kernel eki-8DDF16EC --ramdisk eri-887216DE Checking image Tarring image Encrypting image Splitting image... Part: centos.5-3.x86-64.img.part.0 Part: centos.5-3.x86-64.img.part.1 Part: centos.5-3.x86-64.img.part.2 Part: centos.5-3.x86-64.img.part.3 Part: centos.5-3.x86-64.img.part.4 Part: centos.5-3.x86-64.img.part.5 Part: centos.5-3.x86-64.img.part.6 Part: centos.5-3.x86-64.img.part.7 Part: centos.5-3.x86-64.img.part.8 Part: centos.5-3.x86-64.img.part.9 Part: centos.5-3.x86-64.img.part.10 Part: centos.5-3.x86-64.img.part.11 Part: centos.5-3.x86-64.img.part.12 Part: centos.5-3.x86-64.img.part.13 Part: centos.5-3.x86-64.img.part.14 Part: centos.5-3.x86-64.img.part.15 Part: centos.5-3.x86-64.img.part.16 Part: centos.5-3.x86-64.img.part.17 Part: centos.5-3.x86-64.img.part.18 Generating manifest [root@frontend euca-centos-5.3-x86_64]# euca-upload-bundle -b centos-image-bucket -m /tmp/centos.5-3.x86-64.img.manifest.xml Checking bucket: centos-image-bucket Creating bucket: centos-image-bucket Uploading manifest file Uploading part: centos.5-3.x86-64.img.part.0 Uploading part: centos.5-3.x86-64.img.part.1 Uploading part: centos.5-3.x86-64.img.part.2 Uploading part: centos.5-3.x86-64.img.part.3 Uploading part: centos.5-3.x86-64.img.part.4 Uploading part: centos.5-3.x86-64.img.part.5 Uploading part: centos.5-3.x86-64.img.part.6 Uploading part: centos.5-3.x86-64.img.part.7 Uploading part: centos.5-3.x86-64.img.part.8 Uploading part: centos.5-3.x86-64.img.part.9 Uploading part: centos.5-3.x86-64.img.part.10 Uploading part: centos.5-3.x86-64.img.part.11 Uploading part: centos.5-3.x86-64.img.part.12 Uploading part: centos.5-3.x86-64.img.part.13 Uploading part: centos.5-3.x86-64.img.part.14 Uploading part: centos.5-3.x86-64.img.part.15 Uploading part: centos.5-3.x86-64.img.part.16 Uploading part: centos.5-3.x86-64.img.part.17 Uploading part: centos.5-3.x86-64.img.part.18 Uploaded image as centos-image-bucket/centos.5-3.x86-64.img.manifest.xml [root@frontend euca-centos-5.3-x86_64]# euca-register centos-image-bucket/centos.5-3.x86-64.img.manifest.xml IMAGE emi-1CCC15AD |